<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		function Car(){
			this.name="车";
			this.color= "red";
			this.run = function () {
				document.write(this.name+"可以跑的");
			}
		}

		car = new Car();

		car.name= "奥迪";

		car.run();


		// window

		// window.document.write()
		console.log(console)
		
		// str = "sdfo,oosd,foo,osd";

		str.slice(3, 7);
		str.substr(3,3);
		str.split(",");
		str.replace('ooo','xxx');
		str.toLowerCase()
		str.toUpperCase()
		str.charAt(5);
		str[5] = "i";


		// arr = [5645,67,45,64,56,456];

		// arr[100] = 90;

		// console.log(arr)
		arr.push(89,89,8);
		arr.pop();
		arr.shift();
		arr.unshift(783,343,43)
		arr.splice(5,0,65,6,56,5,6,5,6);

		arr.concat(arr1)

		arr.join(",")

		arr.slice(2, 6)







	</script>
</head>
<body>
	
</body>
</html>